package com.se.domain.request.param;

import com.se.domain.dto.page.PageDTO;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class SearchActParam {
    String key;
    @NotNull(message = "分区号不能为空")
    Long catId;
    String sort;
    Boolean desc;
    @NotNull
    @Valid
    PageDTO page;
}
